package com.kuang.sync.pfsidown;

import com.alibaba.fastjson.JSONObject;
import com.kuang.pojo.AstControllerPoweron;
import com.kuang.pojo.AstLocalCloseWell;
import com.kuang.pojo.AstUserCardActivate;
import com.kuang.pojo.pfsi.AstPfsiDeviceBranch;
import com.kuang.pojo.pfsi.AstPfsiDeviceOpen;
import com.kuang.pojo.pfsi.AstPfsiDeviceStateMsg;
import org.eclipse.paho.client.mqttv3.MqttException;

public interface PfsiDownService {

    //管理机注册
    String postPfsiDeviceRegisterSrv(String id, JSONObject preant) throws MqttException;

    //5远程控制支路搅拌泵开关
    String postBranchMixingPump(String id, JSONObject preant);

    //6远程控制支路进水口开关
    String postBranchInput(String id, JSONObject preant);

    //7远程控制支路出水口开关
    String postBranchOutput(String id, JSONObject preant);

    //8远程控制水泵或者肥泵
    String postWaterOrFertiPump(String id, JSONObject preant);

    //水肥一体机-设备端开机
    String postPfsiDeviceOpen(AstPfsiDeviceOpen astPfsiDeviceOpen);

    //iot推送水肥一体机-设备状态信息给平台
    String postPfsiDeviceStateMsg(AstPfsiDeviceStateMsg astPfsiDeviceStateMsg);

    //iot推送水肥一体机-肥通支路信息给平台
    String postPfsiDeviceBranch(AstPfsiDeviceBranch astPfsiDeviceBranch);

    //9远程控制阀门
    String postRemotePfsiValveResp(String id, JSONObject preant);

    //10 阀门状态更新
    String posUpdatePfsiValveStatus(String id, JSONObject preant);
}
